package com.hyh.dubbozkproduce.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.hyh.dubbo_zk.entity.User;
import com.hyh.dubbo_zk.service.UserService;

@Service(version = "1.0.0", interfaceName = "com.hyh.dubbo_zk.service.UserService")
public class UserServiceImpl implements UserService {

    @Override
    public User getUser() {
        User user = new User();
        user.setId(1);
        user.setName("hong");
        user.setPhone("13800138000");
        return user;
    }
}
